import {wx} from '../../../weixin2alipay/index.js';
import {Page,Component} from '../../../weixin2alipay/index.js';
Page({
    "onShareAppMessage"(){
      return {
        "title":'查看位置',
        "path":'packageAPI/pages/open-location/open-location'
};
    },
    "openLocation"(e){
      console.log(e);
      const value = e.detail.value;
      console.log(value);
      wx.openLocation({
        "longitude":Number(value.longitude),
        "latitude":Number(value.latitude),
        "name":value.name,
        "address":value.address
});
    }
});

